<!doctype html>
<html>
<head>
	<title>Login to control your life</title>
    <link rel="shortcut icon" href="public/favicon.png">
    {{ HTML::style('public/css/login.css')}}
</head>
<body>

	{{ Form::open(array('url' => '/login')) }}
	    <div class="body"></div>
		<div class="grad"></div>
		<div class="header">
			<div>Innovative<br><span>Control</span></div>
		</div>
		<br>
		<div class="login">
            <ul class="error-messages"> 
                @if(count($errors)>1)
                    <li>{{ $errors->first('username') }}</li>
                    <li>{{ $errors->first('password') }}</li> 
                @endif
            </ul>
            <p>{{ Form::text('username', Input::old('username'), array('placeholder' => 'Input Your Username')) }}</p>
            <p><p>{{ Form::password('password', array('placeholder' => 'Password')) }}</p>
            <p>{{ Form::submit('Submit!') }}</p>
		</div>
	{{ Form::close() }}

</body>
</html>